package com.ffe.flower.engine.wrapper;

import java.util.Date;

import com.ffe.flower.engine.model.FlowInfo;

public final class FlowWrapper {

  private final FlowInfo flowInfo;

  public FlowWrapper(FlowInfo flowInfo) {
    super();
    this.flowInfo = flowInfo;
  }

  public Integer getFlowId() {
    return this.flowInfo.getFlowId();
  }

  public String getProcessId() {
    return this.flowInfo.getProcessId();
  }

  public String getApplicantId() {
    return this.flowInfo.getApplicantId();
  }

  public String getTargetId() {
    return this.flowInfo.getTargetId();
  }

  public String getPromoterId() {
    return this.flowInfo.getPromoterId();
  }

  public boolean isPromoterAgent() {
    return this.flowInfo.isPromoterAgent();
  }

  public Integer getCurStateId() {
    return this.flowInfo.getCurStateId();
  }

  public Enum<?> getCurState() {
    return this.flowInfo.getCurState();
  }

  public boolean isFinished() {
    return this.flowInfo.isFinished();
  }

  public boolean isThroughout() {
    return this.flowInfo.isThroughout();
  }

  public Date getCreatedDate() {
    return this.flowInfo.getCreatedDate();
  }

  public Date getLastModifiedDate() {
    return this.flowInfo.getLastModifiedDate();
  }

}
